package org.springblade.modules.repair.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springblade.modules.repair.entity.UserTrajectory;
import org.springblade.modules.system.vo.DeptVO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author: Sharry
 * @createTime: 2023/4/26 15:38
 * @version: Version-1.0
 */
public interface UserTrajectoryMapper extends BaseMapper<UserTrajectory> {
	/**
	 * 根据用户id 获取组列表
	 * @param userId 用户id
	 * @return 组列表
	 */
	List<DeptVO> getDeptListByUserId(Long userId);
}
